Interface DriverInterface

Summary

Fully Qualified Name: Laminas\Db\Adapter\Driver\DriverInterface

Description

Methods

Name Description Defined By
checkEnvironment() Check environment DriverInterface
createResult() Create result DriverInterface
createStatement() Create statement DriverInterface
formatParameterName() Format parameter name DriverInterface
getConnection() Get connection DriverInterface
getDatabasePlatformName() Get database platform name DriverInterface
getLastGeneratedValue() Get last generated value DriverInterface
getPrepareType() Get prepare type DriverInterface

Method Details

checkEnvironment()

Check environment

Returns: bool

createResult()

Create result

Parameter Name Type Description
$resource resource

Returns: \ResultInterface

createStatement()

Create statement

Parameter Name Type Description
$sqlOrResource string|resource

Returns: \StatementInterface

formatParameterName()

Format parameter name

Parameter Name Type Description
$name string
$type mixed

Returns: string

getConnection()

Get connection

Returns: \ConnectionInterface

getDatabasePlatformName()

Get database platform name

Parameter Name Type Description
$nameFormat string

Returns: string

getLastGeneratedValue()

Get last generated value

Returns: mixed

getPrepareType()

Get prepare type

Returns: string

Top